<template>
  <div id="app">
    <keep-alive>
      <router-view/>
    </keep-alive>
    
  </div>
</template>

<script>
import { listss} from '../src/router/permission';
import { getToken } from './assets/js/token';
  export default {
    name: 'App',
    methods:{

    },
    mounted(){
      let token = getToken()
      if(token){
        listss()
      }
    }
  }
</script>

<style lang="less">
  html, body, #app {
    width: 100%;
    height: 100%;
  }
  .el-tab-pane, .el-table tr {
    background-color: #f5f5f5;
  }
</style>
